/*
 * MapObstacle.cpp
 *
 *	Version 1.0
 *  Created on: Oct 5, 2010
 *      Author: Mark Zmek
 *
 *  Copyright 2010 Michigan Technological University. All rights reserved.
 */

#include "MapObstacle.h"

MapObstacle::MapObstacle(){
	xPos=0;
	yPos=0;
	tile=0;
}

MapObstacle::MapObstacle(int x, int y, MapTile * i){
	xPos=x;
	yPos=y;
	tile=i;
}

MapObstacle::~MapObstacle(){
	delete tile->position;
	delete tile;
}

int MapObstacle::getXPos(){
	return xPos;
}
int MapObstacle::getYPos(){
	return yPos;
}
MapTile * MapObstacle::getTile(){
	return tile;
}
